package com.eduadmin.mapper;

import com.eduadmin.entity.TeamCourseMedian;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface TeamCourseMedianMapper {
    // zlc 批量存入班级学科中位数记录
    int batchInsert(List<TeamCourseMedian> teamCourseMedianList);
    // 按条件查询班级学科中位数统计记录，返回对象列表
    List<TeamCourseMedian> getQueTeamCourseMedianByParams(Map<String,Object> paraMap);
    // 按条件查询班级学科中位数统计记录条数
    int getTeamCourseMedianNumberByParams(Map<String,Object> paraMap);
    // 根据条件（学期&&年级&&考试&&分类）删除所有的班级学科中位数，返回1
    int deleteByParams(Map<String,Object> paraMap);

    int deleteByPrimaryKey(Integer teamCourseMedianId);

    int insert(TeamCourseMedian record);

    int insertSelective(TeamCourseMedian record);

    TeamCourseMedian selectByPrimaryKey(Integer teamCourseMedianId);

    int updateByPrimaryKeySelective(TeamCourseMedian record);

    int updateByPrimaryKey(TeamCourseMedian record);
}